# coding:utf-8
from odoo import models, fields, api, _
from odoo.exceptions import Warning


class PaulSaleOrderReason(models.Model):
    _name = 'sale.order.reason'

    name = fields.Char("Name", required=True)
    state = fields.Char("State")
    sale_order_ids = fields.Many2many('sale.order', string='Sale Order')